#include <iostream>
#include <string>

using namespace std;

typedef struct stu
{
    string name ;
    int & id;
}stu;

int main(int argc, char const *argv[])
{
    
    int val = 10;

    stu s1 = {"张三",val};

    cout << s1.name << " " << s1.id << endl;
    
    return 0;
}
